package com.liuzu.esys.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentBo {
    @ExcelProperty(value = "订单号")
    private Integer order_number;

    @ExcelProperty(value = "商品名称")
    private String name;

    @ExcelProperty(value = "用户名称")
    private String user_name;

    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @ExcelProperty(value = "评价时间")
    private Date comment_time;

    @ExcelProperty(value = "评价内容")
    private String comment_content;

}
